:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    background-color: #f5f7ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    min-height: 100vh;
    max-width: 1200px;
    box-sizing: border-box;
}
.main-jk-navigation {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}
.main-container {
    flex: 1;
    width: 100%;
    margin-left: auto;
    justify-content: center;
}
.top-header {
    text-align: right;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #4a6baf;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.console-btn:hover {
    background-color: #3a5a9f;
}

.console-btn i {
    margin-right: 8px;
}

.category-title {
    color: var(--dark-color);
    margin: 40px 0 20px;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
    padding-left: 15px;
}

.category-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.nav-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-header {
    padding: 25px 25px 0;
    border-bottom: none;
    background: transparent;
}

.card-body {
    padding: 0 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-footer {
    background: transparent;
    border-top: none;
    padding: 0 25px 25px;
}

.btn {
    text-decoration: none !important;
}

.btn-card {
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    color: #fafdf4;
}

.btn-card:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

@media (max-width: 768px) {
    .main-container {
        width: 95%;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }
}